package com.techsun.presto;

import com.facebook.presto.spi.Plugin;
import com.google.common.collect.ImmutableSet;
import com.techsun.presto.decode.Decrypt;
import com.techsun.presto.decode.Encrypt;


/**
 * @description:
 * @author: 啸
 * @email: zhang_6379@sina.com
 * @date: 2021/11/27 16:37
 */


import java.util.Set;

public class PrestoUdfPlugin implements Plugin {

    @Override
    public Set<Class<?>> getFunctions() {
        return ImmutableSet.<Class<?>>builder()
                // 添加插件class
                .add(Decrypt.class)
                .add(Encrypt.class)
                .build();
    }
}
